jquery run after page load

46

jquery run after page load -

$(window).on('load', function() {
 // code here
});

after load page jquery -

$(document).ready(function() { 
});

ajax run function after page load -

$(document).ready(function() {
    // Code to run as soon as the page is ready
})

jquery ready -

// jQuery document ready function
$(function() {
 // do stuff
});

Comments

Submit
0 Comments